package com.xindaoapp.happypet.ui;

import android.support.v4.app.FragmentActivity;

import com.tencent.stat.StatService;
import com.umeng.analytics.MobclickAgent;

public class UMBaseActivity extends FragmentActivity {
    @Override
    protected void onResume() {
        super.onResume();
        MobclickAgent.onPageStart(getPackageName());
        MobclickAgent.onResume(this);

        StatService.onResume(this);
    }

    @Override
    protected void onPause() {
        super.onPause();
        MobclickAgent.onPageEnd(getPackageName());
        MobclickAgent.onPause(this);

        StatService.onPause(this);
    }


}
